package com.ruoyi.yard.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 构件库存信息对象 comp_warehouse_info
 * 
 * @author ruoyi
 * @date 2022-09-02
 */
public class CompWarehouseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 构件编号 */
    @Excel(name = "构件编号")
    private String warehouseCompomentNo;

    /** 构件类别 */
    @Excel(name = "构件类别")
    private String compomentType;

    /** 构件名称 */
    @Excel(name = "构件名称")
    private String compomentName;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 材质 */
    @Excel(name = "材质")
    private String texture;

    /** 长度 */
    @Excel(name = "长度")
    private Long length;

    /** 单表面积 */
    @Excel(name = "单表面积")
    private Long surfaceArea;

    /** 单毛重量 */
    @Excel(name = "单毛重量")
    private Double grossWeight;

    /** 单净重量 */
    @Excel(name = "单净重量")
    private Double netWeight;

    /** 工艺流程编号 */
    @Excel(name = "工艺流程编号")
    private String processNo;




    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectNo;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 楼栋编号 */
    @Excel(name = "楼栋编号")
    private String buildNo;

    /** 楼层 */
    @Excel(name = "楼层")
    private String floor;

    /**
     * 开始楼层
     */
    private Integer beginFloor;

    /**
     * 结束楼层
     */
    private Integer endFloor;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long stockCount;

    /** 入库人 */
    @Excel(name = "入库人")
    private String warehousedBy;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warehousedTime;

    /** 入库开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginWarehousedTime;

    /** 入库结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endWarehousedTime;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓库区域 */
    @Excel(name = "仓库区域")
    private String warehouseArea;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    /** 二维码 */
    private String qrCode;

    /** 叠合板数量 */
    private Long laminatedPlateCount;

    private Long planCount;//计划数量
    private Long actualCount;//实际数量

    private Boolean isStock;//有在库量

    public Boolean getIsStock() {
        return isStock;
    }

    public void setIsStock(Boolean stock) {
        isStock = stock;
    }

    public Long getPlanCount() {
        return planCount;
    }

    public void setPlanCount(Long planCount) {
        this.planCount = planCount;
    }

    public Long getActualCount() {
        return actualCount;
    }

    public void setActualCount(Long actualCount) {
        this.actualCount = actualCount;
    }

    public Long getLaminatedPlateCount() {
        return laminatedPlateCount;
    }

    public void setLaminatedPlateCount(Long laminatedPlateCount) {
        this.laminatedPlateCount = laminatedPlateCount;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    private Long needCount;

    public Long getNeedCount() {
        return needCount;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public void setNeedCount(Long needCount) {
        this.needCount = needCount;
    }

    public Integer getBeginFloor() {
        return beginFloor;
    }

    public void setBeginFloor(Integer beginFloor) {
        this.beginFloor = beginFloor;
    }

    public Integer getEndFloor() {
        return endFloor;
    }

    public void setEndFloor(Integer endFloor) {
        this.endFloor = endFloor;
    }

    public Date getBeginWarehousedTime() {
        return beginWarehousedTime;
    }

    public void setBeginWarehousedTime(Date beginWarehousedTime) {
        this.beginWarehousedTime = beginWarehousedTime;
    }

    public Date getEndWarehousedTime() {
        return endWarehousedTime;
    }

    public void setEndWarehousedTime(Date endWarehousedTime) {
        this.endWarehousedTime = endWarehousedTime;
    }



    public String getCompomentType() {
        return compomentType;
    }

    public void setCompomentType(String compomentType) {
        this.compomentType = compomentType;
    }

    public String getCompomentName() {
        return compomentName;
    }

    public void setCompomentName(String compomentName) {
        this.compomentName = compomentName;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getTexture() {
        return texture;
    }

    public void setTexture(String texture) {
        this.texture = texture;
    }

    public Long getLength() {
        return length;
    }

    public void setLength(Long length) {
        this.length = length;
    }

    public Long getSurfaceArea() {
        return surfaceArea;
    }

    public void setSurfaceArea(Long surfaceArea) {
        this.surfaceArea = surfaceArea;
    }

    public Double getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(Double grossWeight) {
        this.grossWeight = grossWeight;
    }

    public Double getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(Double netWeight) {
        this.netWeight = netWeight;
    }

    public String getProcessNo() {
        return processNo;
    }

    public void setProcessNo(String processNo) {
        this.processNo = processNo;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getWarehouseCompomentNo() {
        return warehouseCompomentNo;
    }

    public void setWarehouseCompomentNo(String warehouseCompomentNo) {
        this.warehouseCompomentNo = warehouseCompomentNo;
    }

    public void setProjectNo(String projectNo)
    {
        this.projectNo = projectNo;
    }

    public String getProjectNo() 
    {
        return projectNo;
    }
    public void setBuildNo(String buildNo) 
    {
        this.buildNo = buildNo;
    }

    public String getBuildNo() 
    {
        return buildNo;
    }
    public void setFloor(String floor) 
    {
        this.floor = floor;
    }

    public String getFloor() 
    {
        return floor;
    }
    public void setStockCount(Long stockCount) 
    {
        this.stockCount = stockCount;
    }

    public Long getStockCount() 
    {
        return stockCount;
    }
    public void setWarehousedBy(String warehousedBy)
    {
        this.warehousedBy = warehousedBy;
    }

    public String getWarehousedBy()
    {
        return warehousedBy;
    }
    public void setWarehousedTime(Date warehousedTime) 
    {
        this.warehousedTime = warehousedTime;
    }

    public Date getWarehousedTime() 
    {
        return warehousedTime;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setWarehouseArea(String warehouseArea) 
    {
        this.warehouseArea = warehouseArea;
    }

    public String getWarehouseArea() 
    {
        return warehouseArea;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return "CompWarehouseInfo{" +
                "id=" + id +
                ", warehouseCompomentNo='" + warehouseCompomentNo + '\'' +
                ", compomentType='" + compomentType + '\'' +
                ", compomentName='" + compomentName + '\'' +
                ", specifications='" + specifications + '\'' +
                ", texture='" + texture + '\'' +
                ", length=" + length +
                ", surfaceArea=" + surfaceArea +
                ", grossWeight=" + grossWeight +
                ", netWeight=" + netWeight +
                ", processNo='" + processNo + '\'' +
                ", projectNo='" + projectNo + '\'' +
                ", buildNo='" + buildNo + '\'' +
                ", floor='" + floor + '\'' +
                ", beginFloor='" + beginFloor + '\'' +
                ", endFloor='" + endFloor + '\'' +
                ", stockCount=" + stockCount +
                ", warehousedBy=" + warehousedBy +
                ", warehousedTime=" + warehousedTime +
                ", beginWarehousedTime=" + beginWarehousedTime +
                ", endWarehousedTime=" + endWarehousedTime +
                ", warehouseName='" + warehouseName + '\'' +
                ", warehouseArea='" + warehouseArea + '\'' +
                ", comment='" + comment + '\'' +
                '}';
    }
}
